package com.bos.service.impl;

import com.bos.data.model.BosProjectModel;
import com.bos.data.model.BusinessModel;
import com.bos.data.model.PerformanceModel;
import com.bos.data.model.SituationModel;
import com.bos.mapper.PerformanceMapper;
import com.bos.service.PerformanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * create by tanghuihong 2018/6/13
 */
@Service("situationServiceImpl")
public class PerformanceServiceImpl implements PerformanceService {
    @Autowired
    PerformanceMapper situationMapper;
    //1.查询出项目表中的数据
    @Override
    public BosProjectModel findProjectDetails(int id) {
        return situationMapper.findProjectDetails(id);
    }

    @Override
    public PerformanceModel findPerformances(int id) {
        return situationMapper.findPerformances(id);
    }

    @Override
    public BusinessModel findBuiness(int id) {
        return situationMapper.findBuiness(id);
    }
}
